import request from '@/utils/request'

// 登录方法
export const login = (data) => request.post('/sys/login',data)

// 获取用户信息
export const getUserInfoAPI = () => request.get('/sys/profile')

// 更新密码接口
export const updatePasswordAPI = (form) => request.put('/sys/user/updatePass',form)